package at.guigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.io.IOException;
import java.util.Date;

// 自定义类型转换器
@Controller
@RequestMapping("/user3")
public class UserControllerThree {

    @ResponseBody
    @RequestMapping("/quickk1")
    public void save1(@RequestParam("date") Date date) throws IOException {
        System.out.println(date);
    }
}
